import request from '../utils/request'

/**
 * 商家列表
 */
export const merchant = params => request({
  url: '/merchant',
  method: 'GET',
  params
})

/**
 * 商家详情
 */
export const merchantdetail = data => request({
  url: '/merchant/show',
  method: 'GET',
  data
})

/**
 * 入驻列表
 */
export const settledmerchant = params => request({
  url: '/settled/merchant',
  method: 'GET',
  params
})

/**
 * 商家账单列表
 */
export const getbill = params => request({
  url: 'merchant/bill',
  method: 'GET',
  params
})
